function jQueryinit(ele) {
    let eles = document.querySelectorAll(ele)
    for(let i = 0;i<eles.length;i++){
        this[i]=eles[i]
    }
    this.length=eles.length
}

jQueryinit.prototype.css = function (cssName,cssVal) {
    for(let i=0;i<this.length;i++){
        this[i].style[cssName]=cssVal
    }
    return this   
}

Jq.prototype.addClass = function(){}
Jq.prototype.removeClass = function(){}
Jq.prototype.hasClass = function(){}
Jq.prototype.attr = function(){}

function $(ele) {
    return new jQueryinit(ele)
}